package com.xiangban.yanglaodajie_platform.dao;

import com.xiangban.yanglaodajie_platform.entity.*;
import com.xiangban.yanglaodajie_platform.entity.dto.ClassOrActivityDto;
import com.xiangban.yanglaodajie_platform.entity.dto.TeacherShopDto;
import org.springframework.stereotype.Repository;

import java.util.List;

/**
 * @Author Mr. MaYaYun
 * @Data 2021/5/8 14:10
 */
@Repository
public interface ClassOrActivityMapper {
    List<ClassProgress> selectClassProgressList(Integer id);
    List<ClassOutline> selectOutlineList(Integer id);
    ClassMaterials selectClassMaterials(Integer id);

    TeacherShopDto selectActivityTeacherInfo(Integer id);
    List<TeacherShopDto> selectClassActivityTeacher(ClassOrActivityDto classOrActivityDto);

    ClassOrActivityDto selectActivityInfo(Integer integer);

    List<ClassOrActivityDto> findActivity(ClassOrActivity classOrActivity);

    ClassOrActivity getActivityPrice(ClassOrActivity classOrActivity);

    ClassOrActivityDto findInfo(ClassOrActivityDto classOrActivityDto);

    void updateNumber(ClassOrActivity classOrActivity);

    List<ClassSchedule> findClassSchedule(ClassOrActivityDto classOrActivityDto);
}
